<?php
namespace app\backend\controllers;
use app\backend\common\AdminBaseController;
use app\backend\models\TaskModel;

class TaskController extends AdminBaseController {


    public function actionList(){
        $TaskModel = new TaskModel();
        $data= $TaskModel->getTaskAll();
        $this->assign('data',$data);
        return $this->display('task/list');
    }

}